@import '~antd/lib/style/themes/default.less';

:global {
    .anticon {
        margin-right: 4px;
    }
}

.main {
    width: 822px;
    height: 544px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 30px 0 rgba(206, 203, 203, 0.05);
    border-radius: 4px;
    padding: 60px 118px;
    margin: 0 auto;
    :global {
        .ant-row {
            padding-top: 4px;
        }
    }
}

.confirm-msg {
    > span > span {
        color: @primary-color;
    }
}

.form {
    width: 100%;
    padding: 16px;
}

.mainTitle {
    font-size: 28px;
    font-weight: 500;
    padding-bottom: 38px;
}

.inputExtra {
    white-space: nowrap;
    svg {
        color: @primary-color;
    }
}

.validatePassword {
    white-space: nowrap;
    color: @text-color-secondary;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    &.step1 {
        div:nth-child(1) {
            color: @primary-color;
        }
    }
    &.step2 {
        div:nth-child(2) {
            color: @primary-color;
        }
    }
}

.resetSuccess {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    svg {
        color: @success-color;
    }
}

.success,
.warning,
.error {
    transition: color 0.3s;
}

.success {
    color: @success-color;
}

.warning {
    color: @warning-color;
}

.error {
    color: @error-color;
}

.progress-pass > .progress {
    :global {
        .ant-progress-bg {
            background-color: @warning-color;
        }
    }
}

.info {
    color: @text-color-secondary;
}
